#!/bin/bash

my_array=(a b "c" d e)
array[0]=A
array[1]=B
array[2]=C
array[3]=D

echo ${my_array[0]}
echo ${my_array[2]}

echo ${array[*]}
echo ${array[@]}

echo ${#my_array[*]}

echo ${#array[@]}
